//
//  Model.m
//  轻量级TableView
//
//  Created by 徐益智 on 16/4/14.
//  Copyright © 2016年 Vdianjing. All rights reserved.
//

#import "Model.h"

@implementation Model

- (instancetype)initModelWithDiction:(NSDictionary *)dic
{
    if (self = [super init]) {
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}

+ (instancetype)modelWithDictionay:(NSDictionary *)dic
{
    return [[self alloc] initModelWithDiction:dic];
}

@end
